"Hors d ' oeuvres"
When it comes to Python's strip method, presumably anyone who touches Python knows it is primarily used to remove spaces. There are two ways to achieve this.
Method One: Using built-in functions
If name = = ' main ': str = '
Purpose
By removing the information used by the binding program and the symbolic debugging program, you can reduce the size of object files in the extended public object file format (xcoff.
Syntax
Strip [-V] [-R [-L] |-X [-L] |-T |-H |-E] [-X {32 |
Purpose
By removing the information used by the binding program and the symbolic debugging program, you can reduce the size of object files in the extended public object file format (xcoff.
Syntax
Strip [-V] [-R [-L] |-X [-L] |-T |-H |-E] [-X {32 |
1, remove-g, equal to the program to do the--strip-debug2, strip program, equal to the program did--strip-debug and--strip-symbolAs a Linux developer, if you have not heard of the strip command, it is very inappropriate. Strip this word, everyone
Purpose
By removing the information used by the binding program and the symbolic debugging program, you can reduce the size of the object file that extends the Common Object File Format (xcoff.
Syntax
Strip [-V] [-R [-L]|-X [-L]|-T |-H |-E][-X {32 |
Reproduced in: http://blog.csdn.net/stpeace/article/details/47090255As a Linux developer, if you have not heard of the strip command, it is very inappropriate. Strip this word, everyone should have learned, you remember to take off clothes on the
ArticleDirectory
Syntax
Description
Flag
Exit status
Example
Original article link
Remove bindingProgramAnd the information used by the symbolic debugging program to reduce the size of the object file in
Intel may strip out its memory and communication chip Division
In May 18, chip industry analysts said intel may gradually strip its flash and communications business units in the next few months, and follow the example of its rival amd to
I. Principles:
Strip in Python is used to remove the first and last characters of a string. Similarly, lstrip is used to remove the characters on the left, and rstrip is used to remove the characters on the right. All three functions can be passed
This article is to share the content of Python in the strip of the use of methods of small coup, has a certain reference value, the need for friends can refer to
"Hors d ' oeuvres"
When it comes to Python's strip method, presumably anyone who
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.